package aufgabe_01;

// File Messwert.java
public class Messwert extends AbstractClass {
	private int x;
	private int y;

	public Messwert(int newX, int newY) {
		x = newX;
		y = newY;
	}

	public void set(int newX, int newY) {
		x = newX;
		y = newY;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public void print() {
		System.out.println(" Messwert x = " + x + " y = " + y);
	}
}